<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>个人信息</title>
	<meta name="renderer" content="webkit">	
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-status-bar-style" content="black">	
	<meta name="apple-mobile-web-app-capable" content="yes">	
	<meta name="format-detection" content="telephone=no">	
	<link rel="stylesheet" type="text/css" href="__ADMIN__/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="__ADMIN__/bootstrap/css/bootstrap.css" media="all">
	<link rel="stylesheet" type="text/css" href="__ADMIN__/global.css" media="all">
	<link rel="stylesheet" type="text/css" href="__ADMIN__/css/personal.css" media="all">
</head>
<body>
<section class="layui-larry-box">
	<div class="larry-personal">
		<header class="larry-personal-tit">
			<span>修改版位</span>
		</header><!-- /header -->
		<div class="larry-personal-body clearfix">
			<form class="layui-form col-lg-5" action="/admin/adp/edit" method="post">
              <div class="layui-form-item">
                <label class="layui-form-label">版位名称</label>
                <div class="layui-input-block">  
                	<input type="hidden" name="id" value="{$data['id']}">
                    <input type="text" name="title" lay-verify="required" autocomplete="off"  value="{$data['title']}" class="layui-input" >
                </div>
              </div>
             <!--  <div class="layui-form-item">
                <label class="layui-form-label">版位类型</label>
                <div class="layui-input-block">
                  <input type="text" name="type"  autocomplete="off" placeholder="请输入" class="layui-input" >
                </div>
              </div> -->
              <div class="layui-form-item">
                <label class="layui-form-label">版位尺寸：宽</label>
                <div class="layui-input-block">
                  <input type="text" name="width" lay-verify="number" value="{$data['width']}" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">版位尺寸：高</label>
                <div class="layui-input-block">
                  <input type="text" name="height" lay-verify="number" value="{$data['height']}" autocomplete="off" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">版位描述</label>
                <div class="layui-input-block">
                  <textarea name="description" class="layui-textarea">{$data['description']}</textarea>
                </div>
              </div>
              
              <div class="layui-form-item">
                <div class="layui-input-block">
                  <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
                  <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
              </div>
            </form>
		</div>
	</div>
</section>
<script type="text/javascript" src="__ADMIN__/layui/layui.js"></script>
<script type="text/javascript">
	layui.use(['form','upload'],function(){
         var form = layui.form();
         layui.upload({ 
             url: '' ,//上传接口 
             success: function(res){
              //上传成功后的回调 
              console.log(res) 
            } 
         });
	});
</script>
</body>
</html>